# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=spice-html5
pkgver=0.2.2
pkgrel=0
pkgdesc="A html5 client for the spice protocol"
url="https://github.com/freedesktop/spice-html5"
arch="noarch"
license="GPL-3.0-or-later LGPL-3.0-or-later"
options="!check" # No test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/freedesktop/$pkgname/archive/$pkgname-$pkgver.tar.gz
support-busybox-install.patch"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"

build() {
	cd "$builddir"
	return 0
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir/" install
}

sha512sums="2a486552055762e44f54a7454d97e49d8f0d92a476b768f8724e6dfb6796851bd143a2c5b74fc2cff0bcec1f86b919428562f82e4b8de51ff95dadcc8b1a8133  spice-html5-0.2.2.tar.gz
50ba269441d0e52988e494eb74657e413325fd1fd00f92ab8e7695e7e33d8a39159c0b0aca458d821f150dd02a30e11bb23dde6cf9c335f999625cdd8901bc1b  support-busybox-install.patch"
